package com.nengchuan.eic.nceconomy.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.nengchuan.eic.nceconomy.entity.po.TemplateFile;
import com.nengchuan.eic.nceconomy.dao.TemplateFileMapper;
import com.nengchuan.eic.nceconomy.service.TemplateFileService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 模板文件表 服务实现类
 * </p>
 *
 * @author luoping
 * @since 2020-04-23
 */
@Service
public class TemplateFileServiceImpl extends ServiceImpl<TemplateFileMapper, TemplateFile> implements TemplateFileService {

    @Autowired
    private TemplateFileMapper templateFileMapper;

    @Override
    public TemplateFile getIdByCategoryCodeAndProjectCode(String categoryCode, String projectCode){
        return templateFileMapper.getIdByCategoryCodeAndProjectCode(categoryCode,projectCode);
    }

}
